package com.shop.zzh.service;

import com.shop.zzh.entity.User;
import com.shop.zzh.mbg.model.UserPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: shop
 * @description: 实现类
 * @author: zhuzh
 * @create: 2019-11-19 20:44
 **/
public interface UserService {

	String login(User user);
	void register(User user);
	User selectOnByUserName(String username);
	List<UserPermission> getPermissionList(@Param("id") String id);
}
